<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd" xml:lang="en">
<head>
<head>
<title>Sales Invoice</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="author" content="NAMD" />
<meta name="copyright" content="&copy; 2005 - 2017 NAMD" />
<meta name="MSSmartTagsPreventParsing" content="TRUE" />
<meta http-equiv="imagetoolbar" content="no" />

<style type="text/css">
<!--
body, th, td, p {
	font-family:Calibri, Arial,Helvetica,sans-serif; 
	font-size:14px;	 
	color:#000000;
}

table.colored {
	border-width: 0px 0px 0px 0px;
	border-spacing: 0px;
	border-style: solid solid solid solid;
	border-color: black black black black;
	border-collapse: separate;
	background-color: white;
}
table.colored th {
	border-width: 1px 1px 1px 1px;
	padding: 0px 0px 0px 0px;
	border-style: solid solid solid solid;
	border-color: black black black black;
	background-color: white;
	-moz-border-radius: 0px 0px 0px 0px;
}
table.colored td {
	border-width: 1px 1px 1px 1px;
	padding: 0px 0px 0px 0px;
	border-style: solid solid solid solid;
	border-color: black black black black;
	background-color: white;
	-moz-border-radius: 0px 0px 0px 0px;
}

   -->
</style>

</head>
<body>

<!-- logo and co -->
<table border="0" cellspacing="2" cellpadding="2" width="800">
  <tr>
    <td><img src="../templates/green/images/logo.jpg" width="197" height="78" alt="GFI2U" /></td>
    <td>
	
	<big><strong>GUAN FANG INTERNATIONAL MARKETING (M) SDN. BHD.</strong></big>
	<br />
	1st. Floor, No. 6, Jalan Salung 33/26, Seksyen 33,
	<br />
	Shah Alam Technology Park, 40400 Shah Alam
	<br />
	Selangor Darul Ehsan, Malaysia.
	<br />
	Telephone: 60 3 5121 4278 / 6&nbsp;&nbsp;Facsimile: 60 3 5121 4197
	
	</td>
    <td valign="top">(Co. No.: 556114-P) (AJL 931552)</td>
  </tr>
</table>
<!-- /logo and co -->

<br />
<br />

<!-- invoice title -->
<table border="0" cellspacing="2" cellpadding="2" width="800">
  <tr>
    <td valign="top">

<table class="colored" border="1" cellspacing="0" cellpadding="0" width="100%">
	<tr>
		<td>
		
	<strong>To:</strong><br />
	<br />
	<?php echo $_POST["whname"]; ?><br />
	<br />
	<strong>Member ID</strong>: <?php echo $_POST["whid"]; ?>
	
		</td>
	</tr>
</table>

	</td>
    <td>&nbsp;</td>
    <td align="right" valign="top">

<table class="colored" border="1" cellspacing="0" cellpadding="0" width="100%">
		<tr>
			<th colspan="3">INVOICE</th>
		</tr>
		<tr>
			<th>Number</th>
			<th>Page</th>
			<th>Date</th>
		</tr>
		<tr>
			<td align="center"><br /><?php echo $_POST["whinvno"]; ?><br /><br /></td>
			<td align="center"><br />1<br /><br /></td>
			<td align="center"><br /><?php echo $_POST["whdate"]; ?><br /><br /></td>
		</tr>
</table>	
	
	</td>
  </tr>
</table>
<!-- /invoice title -->

<br />
<br />

<!-- invoice particulars -->
<table class="colored" width="800" cellspacing="0" cellpadding="0" border="1">
  <tr>
    <th colspan="3" scope="col">Description</th>
    <th width="87" scope="col">Quantity</th>
    <th width="76" scope="col">Unit Price (RM)</th>
    <th width="86" scope="col">Amount</th>
  </tr>
  <tr>
    <td height="370" colspan="3" valign="top">
	
	<?php echo $_POST["whprdsql"]; ?>&nbsp;-&nbsp;<?php echo $_POST["whprd"]; ?>

	<br />
	<br />
    
	<p>REMARK:</p>
	
	</td>
    <td rowspan="4" align="center" valign="top"><?php echo $_POST["whqty"]; ?> PACKAGE</td>
    <td rowspan="4" valign="top" align="right"><?php echo $_POST["whamount"]; ?></td>
    <td rowspan="4" valign="top" align="right"><?php echo $_POST["whamount"]; ?></td>
  </tr>
  
  <tr>
    <th width="171" height="25">PAYMENT MODE</th>
    <th width="170">AMOUNT (RM)</th>
    <th width="170">REF NO</th>
  </tr>
  <tr>
    <td align="center"><?php echo $_POST["whmode"]; ?></td>
    <td align="right"><?php echo $_POST["whamount"]; ?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <th>TOTAL AMOUNT</th>
    <td align="right"><?php echo $_POST["whamount"]; ?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="5" align="right">Grand Total</td>
    <td align="right">RM<?php echo $_POST["whamount"]; ?></td>
  </tr>
</table>
<!-- /invoice particulars -->

<br />
<br />
<br />
<br />


<table width="800" cellspacing="1" cellpadding="1" border="0">
	<tr>
		<td valign="top"><strong>FOR GUAN FANG INTERNATIONAL MARKETING (M) SDN. BHD.</strong><br />
		<br />
		<br />
		<br />
		<br />
		<br />
		.....................................................<br />
		<strong>Authorised Signature</strong></td>
		<td>&nbsp;</td>
		<td valign="top"><strong>RECEIVED BY</strong><br />
		<br />
		<br />
		<br />
		<br />
		<br />
		.....................................................<br />
		<strong>NAME:<br />
		NRIC:<br />
		CONTACT NO:</strong></td>
	</tr>
</table>

<p><small>Remarks:-<br />
Please indicate our invoice number in all related documents for our accounting purpose.</small></p>

</body>
</html>